//
//  HomeRecentOrderView.h
//  KuWeiPark
//
//  Created by Kevin Su on 15/5/12.
//  Copyright (c) 2015年 Clief. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataModel.h"

@protocol HomeRecentOrderViewDelegate <NSObject>

//导航
- (void)guideToDestinationWithOrderModel:(BookParkingPortOrderModel *)orderModel;

//显示订单详情
- (void)showOrderDetailViewWithOrderModel:(BookParkingPortOrderModel *)orderModel;

@end

@interface HomeRecentOrderView : UIView

@property (nonatomic, assign) id<HomeRecentOrderViewDelegate> delegate;

@property (nonatomic, strong) BookParkingPortOrderModel *orderModel;

@property (nonatomic, assign) CGRect viewFrame;

@property (strong, nonatomic) IBOutlet UILabel *nameLabel;

@property (strong, nonatomic) IBOutlet UILabel *infoLabel;

@property (strong, nonatomic) IBOutlet UIButton *guideBtn;

- (void)initDataWithOrderModel:(BookParkingPortOrderModel *)model;

@end

